<!doctype html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="renderer" content="webkit" />
<title>无标题文档</title>
<link href="__PUBLIC__/admin/sncss/css/style.css" rel="stylesheet" type="text/css" />
<link href="__PUBLIC__/admin/sncss/css/combo.select.css" rel="stylesheet" type="text/css" />
<!-- <link rel="stylesheet" type="text/css" href="__PUBLIC__/admin/simditor/styles/simditor.css" /> -->
<style type="text/css">
	a { color: #58b0e8;cursor:pointer; }
</style>
</head>

<body>

	<div class="place">
	<span>位置：</span>
	<ul class="placeul">
	<li><a>首页</a></li>
	<li><a>订单管理</a></li>
	<li><a>确认订单</a></li>
	</ul>
	</div>

	<div class="formbody">

	<div class="formtitle"><span>确认订单</span></div>
<form id="formid" name="form1" method="post" action="{:U('/Home/Order/next_order')}" onsubmit="return form1_submit();">
	<input name="oid"  type="hidden" value="{$articledata['oid']}" />
	<ul class="forminfo">

	<li>
	<div style="width: 86px;line-height: 34px;display: block;float: left;">内容</div>
	<div id="articlehtml" class="dowebok" style="float: left;">{$articledata['article']}</div>
	</li>

	<li><br><br></li>
	<textarea style="display: none;" name="article" id="article"  ></textarea>
	<li><label>&nbsp;</label><input type="submit" class="btn" value="确认订单"/></li>
	</ul>
</form>

	</div>


</body>
<script src="__PUBLIC__/admin/Js/jquery-1.7.2.min.js"></script>
<script src="__PUBLIC__/layer/layer.js"></script>


<script type="text/javascript">
function delTime(obj){var cl = obj.className;$("."+cl).remove();}

function form1_submit(){
	var num = <?php echo $num;?>;
	for (var i = 0; i <= num; i++) {
		$("#del"+i).remove();
	}
	var article=$('#articlehtml').html();
	var temp = document.createElement("div");
	(temp.textContent != null) ? (temp.textContent = article) : (temp.innerText = article);
	var output = temp.innerHTML;
	$('#article').val(article);
	// alert(output);return false;
	var articleval = $('#article').val();
	if (articleval.length == 0) {
		layer.msg('请重新提交');return false;
	}
}
</script>

</html>
